package com.riant;

import com.riant.service.UserService;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class AoptestApplication {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext annotationConfigApplicationContext = new AnnotationConfigApplicationContext(Appconfig.class);
        UserService userService = annotationConfigApplicationContext.getBean(UserService.class);
        userService.query();
    }
}
